1 package com.iluwatar;
2
3 /**
4 *
5 * Projectile strategy.
6 *
7 */
8 public class ProjectileStrategy implements DragonSlayingStrategy {
9
10 @Override
11 public void execute() {
12 System.out
13 .println("You shoot the dragon with the magical crossbow and it falls dead on the ground!");
14 }
15
16 }